const path=require('path');
const mimes=require('./mimes');

module.exports=url=>{
    let extName=path.extname(url);
    extName=extName?extName.slice(1):'unknown';
    return mimes[extName];
};